/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 12:31:39
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-08-19 10:25:52
 * @FilePath: \mould\src\components\BehaViorManage\workYear\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
// 新增
    formObj: [{
        datePicker: true, //是input
            label: "开始日期", //字段
            prop: "startDates", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '开始日期不能为空'
            }], //验证
        },
        {
            datePicker: true, //是input
            label: "结束日期", //字段
            prop: "endDates", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '结束日期不能为空'
            }], //验证
        },
        
    ],
    // 设置
    formSetObj: [{
        input: true, //是input
            label: "上月", //字段
            prop: "plLastMonth", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            placeholder:'单位为日',
            rules: [{
                required: true,
                message: '单位为日'
            }], //验证
        },
        {
            input: true, //是input
            label: "本月", //字段
            prop: "plThisMonth", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            placeholder:'单位为日',
            rules: [{
                required: false,
                message: '单位为日'
            }], //验证
        },
        
    ],
    // 查看
    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        isOperation: true,
        thead: [
          
            {
                label: "标段",
                prop: "companyName",
                minWidth: "120px",
                align: "left",
            },
            {
                label: "材料名称",
                prop: "materialName",
                minWidth: "100px",
                align: "left",
            },
            {
                label: "规格型号",
                prop: "specification",
                minWidth: "80px",
                align: "center",
            }, {
                label: "进场次数",
                prop: "entryCount",
                minWidth: "75px",
                align: "center",
            }, {
                label: "进场数量",
                prop: "entryNum",
                minWidth: "80px",
                align: "center",
            }, {
                label: "单位",
                prop: "unit",
                minWidth: "60px",
                align: "center",
            }, {
                label: "应检次数",
                prop: "inspectionNum",
                minWidth: "75px",
                align: "center",
            },
            {
                label: "自检次数",
                prop: "sgzjnum",
                minWidth: "75px",
                align: "center",
            },
            {
                label: "自检频率(%)",
                prop: "sgzjpl",
                minWidth: "80px",
                align: "center",
            },
            {
                label: "抽检次数",
                prop: "cjnum",
                minWidth: "75px",
                align: "center",
            },
            {
                label: "抽检频率(%)",
                prop: "cjpl",
                minWidth: "80px",
                align: "center",
            },
            {
                label: "合格率(%)",
                prop: "hgl",
                minWidth: "70px",
                align: "center",
            },
        ],

        isCheckBox: false,
        isIndex: true,
        // 表格操作列
        operation: {
            label: '操作',
            width: '70',
            detail: true,
            prop: true,
            cols: [],
        },
    },

}